<!DOCTYPE html>
<html>
<head>
    <title>Map API Demo: Change Tile Layers</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">
    <script type="text/javascript" src="https://elocation.oracle.com/mapviewer/jslib/v2.3/oraclemapsv2.js"></script>
    <script type="text/javascript" src="js/change_tilelayers.js"></script>    
    <script type="text/javascript">
        $(document).ready( function(){        
            showMap();
        });        
    </script>    
</head>
<body>
  <div  style=" position: absolute; left:0px; top:0px; width:100%; height:800px; overflow:hidden;">
        <table style="width:100%">
        <tr>
          <td width="100%">
              <div id="map" style="width:100%;height:600px"></div>
          </td> 
        </tr>
        <tr>
          <td height="20%">
            <!--a nested table-->
                <table style="width:100%">
                    <tr>
                      <th align="">Tile Layer</th>
                      <th>Vector Layer</th> 
                    </tr>
                    <tr>
                      <td height="20%">
                          <div id="selection3">
                              <fieldset id="group3">
                                  Select tile layer as basemap<br>
                                  <input type="radio" id="radioBtn31" name="group3" onmouseup="radio_selTileLayer(this);" /> Oracle Maps<br>
                                  <input type="radio" id="radioBtn32" name="group3" onmouseup="radio_selTileLayer(this);" /> BI World Maps<br>
                                  <input type="radio" id="radioBtn33" name="group3" onmouseup="radio_selTileLayer(this);" /> OSM Positron<br>
                                  <input type="radio" id="radioBtn34" name="group3" onmouseup="radio_selTileLayer(this);" /> OSM Dark<br>
                              </fieldset>
                          </div>    
                      </td> 
                      <td height="20%">
                          <div id="selection2">
                              <fieldset id="group2">        
                                  Select vector layer<br>
                                  <input type="checkBox" id="checkBox21" name="group2" onmouseup="checkBox_Toggle(this);" /> States<br>
                                  <input type="checkBox" id="checkBox22" name="group2" onmouseup="checkBox_Toggle(this);" /> Counties<br>
                                  <input type="checkBox" id="checkBox23" name="group2" onmouseup="checkBox_Toggle(this);" /> Cities<br>
                                  <input type="checkBox" id="checkBox24" name="group2" onmouseup="checkBox_Toggle(this);" /> Customers<br>
                              </fieldset>
                          </div>    
                      </td> 
                    </tr>

                  <tr>
                    <td>
                        This demo illustrates how to change the tile layers as basemaps.
                    </td>
                  </tr>
              </table>    
          </td> 
        </tr>
      </table>    
</div>
</body>

</html>
